<?php
apf_require_class('Solr_Bll_BaseBiz');
class Solr_Bll_IdxRequestBiz extends Solr_Bll_BaseBiz {

    private static $instance;

    public static function &get_instance() {
        if(!self::$instance){
           	self::$instance = new self();
        }
        return self::$instance;
    }

    public function get_request_webapp_stat($host,$port,$webapp,$date){
        $dao=$this->get_idx_request_dao();
        $res=$dao->get_request_webapp_stat($host,$port,$webapp,$date);
        return $res;
    }

    public function get_request_stat($host,$port,$date){
        $dao=$this->get_idx_request_dao();
        $res=$dao->get_request_stat($host,$port,$date);
        return $res;
    }
}